package com.jzr.board.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.jzr.board.R
import com.jzr.board.bean.NurseSchedulBean
import com.jzr.board.bean.NurseSchedulBean.DataBean.StaffListBean


class NurseSchedulApadter(data: MutableList<NurseSchedulBean.DataBean.StaffListBean>?) :
        BaseQuickAdapter<NurseSchedulBean.DataBean.StaffListBean, BaseViewHolder>(
            R.layout.item_schedul,
            data
        ) {

        override fun convert(helper: BaseViewHolder?, item: NurseSchedulBean.DataBean.StaffListBean?) {
            helper?.setText(R.id.tvName, item?.staffName)
            helper?.setText(R.id.tvTitle, item?.staffId.toString())
        }

    }